home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / rexx / 1034 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  1.5 KB

  1. Path: news.jaguNET.com!news
  2. From: droddey@jagunet.com
  3. Newsgroups: comp.lang.rexx,comp.os.os2.programmer.misc
  4. Subject: Re: OS/2: beeping chords
  5. Date: 25 Feb 1996 21:46:34 GMT
  6. Organization: jaguNET Access Services
  7. Distribution: inet
  8. Message-ID: <4gqlbq$s1b@skydiver.jaguNET.com>
  9. References: <4fu9pa$gdk@newsbf02.news.aol.com> <825228111snx@anweald.exnet.co.uk>
  10. Reply-To: droddey@jagunet.com
  11. NNTP-Posting-Host: dlup-bbb.jagunet.com
  12. X-Newsreader: IBM NewsReader/2 v1.2.5
  13.  
  14. In <825228111snx@anweald.exnet.co.uk>, ph@anweald.exnet.co.uk (Patrick Herring) writes:
  15. >Anyone know if the beep() function can be used to do more than one note at 
  16. >once? I've tried using threads with ydbautil but the notes come out in 
  17. >sequence. There may be a hardware restriction (ThinkPad 700C), but win-os2 
  18. >used to be able to do its tada thing alright. I have the feeling that 2.x 
  19. >verions were able to use the alarm speaker as a sound device, but that Warp 
  20. >can't lest we fail to appreciate mmos2.
  21. >
  22.  
  23. The system speaker could replay anything of course, if the hardware can do it.
  24. Unfortunately the sound from the speaker is created via a single timer channel on
  25. the system timer chip that is used to oscilate the speaker. Since there is only a
  26. single timer channel available, it can only be used by one thread at a time.
  27.  
  28. If your system has any multi-media capabilites or a built in DSP, then you might be
  29. able to use them to get a better effect.
  30.  
  31.  
  32. Dean Roddey
  33. CIDCorp, The CIDLib Class Libraries
  34. droddey@jagunet.com
  35. http://www.jagunet.com/~droddey/
  36.  
  37.  
  38.